home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Loadstar 89
/
089.d81
/
missing 89
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2022-08-26
|
5KB
|
190 lines
1 poke55,0:poke56,128:clr
2 poke53281,0:poke53280,0:printchr$(147)chr$(14)chr$(8);
5 poke53272,29
6 dim m$(9),r$(4):f=0:ff=0:s=54272:gosub9900:l$="- - - - - -"
7 sp$=" "
10 fori=1to7:readm$(i):next
11 data "[208]rint [208]uzzle (1525) "
12 data "[208]rint [208]uzzle (other) "
13 data "[208]rint [211]olution (1525) "
14 data "[208]rint [211]olution (other)"
15 data "[210]ead [201]t "
16 data "[195]redits "
17 data "[204]oadstar "
20 tp$="[176][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][174]"
22 md$="[221][155] [146][221]"
23 ln$="[171][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][179]"
24 bt$="[173][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192]"
25 goto30
26 print"[147]"tp$;
27 fori=1to23:printmd$;:next:printbt$:poke2023,125:poke56295,1
28 fori=217to242:pokei,peek(i)or128:next:return
30 gosub26
32 print"[221][156] [205]issing [205]iddles [146][221]";
34 println$;
60 poke214,21:print
65 println$;
70 print"[221][154] [213]se cursor keys/[210][197][212][213][210][206] to select [146][221]";
80 gosub28
100 print"";
102 printtab(7)"[176][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][174]"
104 qq$="[221] [221]"
105 fori=1to9:print""qq$:next
106 printtab(7)"[173][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][189]"
107 poke214,5:print
109 fori=1to7:printtab(9)""m$(i):next
145 sys52496,6
146 poke198,0
150 r=5:m=1:poke214,r:print:printtab(9)"[154]"m$(m):m1=m:r1=r
155 getk$:ifk$=""then155
160 ifk$=chr$(13)thengosub9930:goto200
165 ifk$="[145]"thenm=m-1:r=r-1:ifm<1thenm=7:r=11
170 ifk$=""thenm=m+1:r=r+1:ifm>7thenm=1:r=5
175 ifm<>m1thenpoke214,r1:print:printtab(9)""m$(m1):gosub9910
180 poke214,r:print:printtab(9)"[154]"m$(m)
182 m1=m:r1=r
185 goto155
190 :
200 onmgoto1000,1000,2000,2000,12000,500,11000
205 goto150
500 sys52496,7
525 poke214,15:print:printtab(7)"[159][176][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][174]"
527 printtab(7)"[221] [208]uzzle [194]y [194]. [211]chulak [221]"
535 printtab(7)"[173][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][189]"
544 t=1
545 getk$:ifk$<>""then550
546 t=t+1:ift<100then545
550 sys52499,7:gosub28:goto155
555 :
1000 gosub9000:ifppthen155
1005 gosub6000
1010 ifm=1thenl$=" [164] [164] [164] "
1015 ifm=2thenl$=" - - - "
1020 open4,4
1025 print#4,sp$;"and are car cut ere gin has haw ire lam"
1030 print#4
1035 print#4,sp$;"nap ore par per pie pin rap row she the"
1040 print#4:print#4:print#4
1045 print#4,sp$;"c";l$;"y"
1047 print#4
1050 print#4,sp$;"s";l$;"f"
1052 print#4
1055 print#4,sp$;"o";l$;"e"
1057 print#4
1060 print#4,sp$;"s";l$;"d"
1062 print#4
1065 print#4,sp$;"o";l$;"a"
1067 print#4
1070 print#4,sp$;"c";l$;"p"
1072 print#4
1075 print#4,sp$;"o";l$;"r"
1077 print#4
1080 print#4,sp$;"c";l$;"m"
1082 print#4
1085 print#4,sp$;"i";l$;"t"
1087 print#4
1090 print#4,sp$;"a";l$;"g"
1092 print#4
1095 print#4,sp$;"s";l$;"l"
1097 print#4
1100 print#4,sp$;"m";l$;"l"
1102 print#4
1105 print#4,sp$;"c";l$;"t"
1107 print#4
1110 print#4,sp$;"s";l$;"n"
1112 print#4
1115 print#4,sp$;"a";l$;"n"
1117 print#4
1120 print#4,sp$;"b";l$;"t"
1122 print#4
1125 print#4,sp$;"g";l$;"h"
1127 print#4
1130 print#4,sp$;"g";l$;"n"
1132 print#4
1135 print#4,sp$;"a";l$;"e"
1137 print#4
1140 print#4,sp$;"a";l$;"t"
1145 print#4:close4:goto155
2000 gosub9000:ifppthen155
2005 gosub6000
2007 open4,4
2010 print#4,sp$;"candy"
2015 print#4,sp$;"scarf"
2020 print#4,sp$;"opine"
2025 print#4,sp$;"spied"
2030 print#4,sp$;"opera"
2035 print#4,sp$;"clamp"
2040 print#4,sp$;"other"
2045 print#4,sp$;"chasm"
2050 print#4,sp$;"inapt"
2055 print#4,sp$;"aging"
2060 print#4,sp$;"shawl"
2065 print#4,sp$;"morel"
2070 print#4,sp$;"caret"
2072 print#4,sp$;"siren"
2074 print#4,sp$;"ashen"
2076 print#4,sp$;"beret"
2078 print#4,sp$;"graph"
2080 print#4,sp$;"grown"
2082 print#4,sp$;"acute"
2084 print#4,sp$;"apart"
2085 :
2092 print#4:close4:goto155
6000 open4,4
6005 print#4, " #89 - missing middles"
6006 print#4
6010 print#4:close4:return
9000 sys52496,7:pp=1
9005 poke214,15:print:printtab(7)"[159][176][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][174]"
9010 printtab(7)"[221] [208]rinter [210]eady? [y/n] [221]"
9025 printtab(7)"[173][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][189]"
9035 getk$:ifk$=""then9035
9036 ifk$="y"thenpp=0
9040 sys52499,7:gosub28:return
9045 :
9800 poke214,21:print:println$;
9805 print"[221][154] [208]ress [210][197][212][213][210][206] [146][221]";
9810 getk$:ifk$<>chr$(13)then9810
9815 return
9820 :
9900 fori=0to24:pokes+i,.:next:return
9910 pokes+24,15:pokes+5,9:pokes+6,0
9915 pokes+1,19:pokes,63:pokes+4,17
9920 fort=1to50:next:pokes+4,16:return
9930 pokes+24,15:pokes+5,9:pokes+6,0
9935 pokes+1,48:pokes,0:pokes+4,17
9940 fort=1to50:next:pokes+4,16:return
10000 open15,8,15,"s0:missing 89":close15:save"0:missing 89",8:end
11000 poke214,15:print
11005 printtab(7)"[150][176][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][174]"
11015 printtab(7)"[221] [193]re you sure? [y/n] [221]"
11025 printtab(7)"[173][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][189]"
11030 getk$:ifk$=""then11030
11035 ifk$<>"y"thensys52499,6:goto150
11037 print"[147]":poke53272,23
11040 open15,8,15,"r0:hello connect=hello connect":input#15,er%:close15
11050 ifer%<>63thenprint"[147]":poke43,1:poke44,8:poke2048,0:end
11055 poke646,peek(53281):print"[147]load"chr$(34)"hello connect"chr$(34)",8"
11060 print"run"
11061 poke43,1:poke44,8:poke2048,0
11065 poke631,13:poke632,13:poke633,13:poke198,3:end
12000 sys52496,7
12001 gosub26
12005 print"[221][156] [205]issing [205]iddles [146][221]";
12010 println$;
12015 print"[155] [213]se the three letter words found
12020 [153]"list at the top of the page to complete
12025 print"[155] the five letter words. [198]or example,
12030 [153]"list to solve (NULL)---(NULL), enter (NULL)str$val. valach
12035 print"[155] word will be used only one time.
12045 [153]"list right$f you have a printer/interface
12050 print"[155] combination that emulates the
12055 [153]"list len1525 printer, choose the 1525 print
12060 print"[155] modes to print the puzzle and
12065 [153]"list solution. right$f your printer does
12070 print"[155] not support [195]ommodore graphic
12075 [153]"list characters or printer commands,
12080 print"[155] select [207][212][200][197][210].
12100 [141]9800
12105 [158]52499,7:[141]28:[137]155